package com.henu.ocr.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@TableName("user")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId("id")
    private Long userId;
    @TableField("username")
    private String username;
    @TableField("password")
    private String password;
    @TableField("realname")
    private String realname;
    @TableField("user_type_id")
    private String userTypeId;
    @TableField("phone")
    private String userPhone;
    @TableField("email")
    private String email;
    @TableField("user_gender")
    private String userGender;
    @TableField("user_company_id")
    private String userCompanyId;
    @TableField("user_age")
    private int age;
    @TableField("is_delete")
    private Boolean isDelete;
    @TableField("pk_deptdoc")
    private String pkDeptdoc;
    @TableField("psncode")
    private String psncode;
    @TableField("psnscopename")
    private String psnScopeName;
    @TableField("certid")
    private String certid;
}
